import {getFocusList} from "@/api/adv";

const state = {
	focusList:[]
};
const mutations = {
	UP_FOCUSLIST(state,payload){
		state.focusList = payload;
	}
};
const actions = {
	async getFocusListAsync({commit}){
		const res = await getFocusList();
		commit("UP_FOCUSLIST",res.focusList);
	}
}
export default {
	namespaced:true,
	state,
	mutations,
	actions
}